package jfox.platform.logging.dao;

import jfox.platform.common.PaginationList;
import jfox.platform.infrastructure.DataAccessObject;
import jfox.platform.logging.entity.Log;

/**
 * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
 */
public interface LogDAO extends DataAccessObject {

    Log getLogById(long id);

    int insertLog(Log log);

    int deleteLog(long logId);

    PaginationList<Log> searchLog(String username, long moduleId, String type, long startTime, long endTime, int start, int limit);
}
